﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdm_National_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("mdm_National_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("mdm_National_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("mdm_National_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("mdm_National_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("mdm_National_Gridview", "No");

        
        [Column]
        public string National_Material_From { get { return _National_Material_From; } set { _National_Material_From = value; EntityState.FieldChange("National_Material_From"); } } private string _National_Material_From; public static FieldInfo national_Material_From = new FieldInfo("mdm_National_Gridview", "National_Material_From");
        [Column]
        public string National_Name { get { return _National_Name; } set { _National_Name = value; EntityState.FieldChange("National_Name"); } } private string _National_Name; public static FieldInfo national_Name = new FieldInfo("mdm_National_Gridview", "National_Name");
        [Column]
        public string National_Material_To { get { return _National_Material_To; } set { _National_Material_To = value; EntityState.FieldChange("National_Material_To"); } } private string _National_Material_To; public static FieldInfo national_Material_To = new FieldInfo("mdm_National_Gridview", "National_Material_To");
        [Column]
        public string National_Description { get { return _National_Description; } set { _National_Description = value; EntityState.FieldChange("National_Description"); } } private string _National_Description; public static FieldInfo national_Description = new FieldInfo("mdm_National_Gridview", "National_Description");
        [Column]
        public string National_Uom { get { return _National_Uom; } set { _National_Uom = value; EntityState.FieldChange("National_Uom"); } } private string _National_Uom = "PC"; public static FieldInfo national_Uom = new FieldInfo("mdm_National_Gridview", "National_Uom");
        [Column]
        public string National_Reason { get { return _National_Reason; } set { _National_Reason = value; EntityState.FieldChange("National_Reason"); } } private string _National_Reason="Z001"; public static FieldInfo national_Reason = new FieldInfo("mdm_National_Gridview", "National_Reason");
        [Column]
        public string National_Alternative_Materials { get { return _National_Alternative_Materials; } set { _National_Alternative_Materials = value; EntityState.FieldChange("National_Alternative_Materials"); } } private string _National_Alternative_Materials; public static FieldInfo national_Alternative_Materials = new FieldInfo("mdm_National_Gridview", "National_Alternative_Materials");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("mdm_National_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("mdm_National_Gridview", "Status");

    }
}
